 function userregister(){
 	  document.getElementById('contentes').style.display="none";
 	  document.getElementById('register').style.display="block";
 	  document.getElementById('repassword').style.display="none";
 	  return true;
 }
 
 function onlogin(){
 	
 	  document.getElementById('contentes').style.display="block";
 	  document.getElementById('register').style.display="none";
 	  document.getElementById('repassword').style.display="none";
 	  return true;
 }
 function repassword(){
 	 
 	  document.getElementById('contentes').style.display="none";
 	  document.getElementById('register').style.display="none";
 	  document.getElementById('repassword').style.display="block";
 	  return true;
 }
 function readAgreement(){
     // document.getElementById('tempback').style.display="block";
      //document.getElementById('salience').style.display="block";
       return true;
 }
function yesshow(){
     document.getElementById('tempback').style.display="none";
     document.getElementById('salience').style.display="none";
     document.getElementById('tiaokuan').checked=true;
     return true;
}
function noshow(){
     document.getElementById('tempback').style.display="none";
     document.getElementById('salience').style.display="none";
     document.getElementById('tiaokuan').checked=false;
     return true;
}
function load(){
   //执行一个时间函数
   //检测当前的时间秒数：
    var myDate = new Date();
    var temp= myDate.getSeconds();   
   if (temp>30) { document.getElementById("body").style.backgroundImage="url('image/beach.jpg')";} 
   else{ document.getElementById("body").style.backgroundImage="url('image/boats.jpg')"; }
    
}
function  init() {
               document.getElementById("hello").style.marginTop="-500px"
               document.getElementById("hello").style.marginLeft="94%";
               alert("jelly bean");
            }
            
